#include "vector2d.h"
#include <stdlib.h>

struct dd_vector2d *dd_vector2d_create() {
	struct dd_vector2d *w = malloc(sizeof(struct dd_vector2d));
	dd_vector2d_init(w);
	return w;
}

void dd_vector2d_init(struct dd_vector2d *this) {
	this->x = 0;
	this->y = 0;
}
